package com.hpf.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Fred
 * @since 2020-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("student")
@ApiModel(description = "学生实体类")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String PASS = "pass";

    public static final String CONTENT = "content";

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "学生id")
    private Integer id;

    @ApiModelProperty(value = "学生名称")
    private String name;

    @ApiModelProperty(value = "学生密码")
    private String pass;

    @ApiModelProperty(value = "学生描述")
    private String content;

}
